package com.itheima02.Day09;

import java.util.LinkedList;

/**
 * @author 刘全
 * @date 2021/7/25
 */
public class Test2 {
    public static void main(String[] args) {
        LinkedList<String> linkedList = new LinkedList<>();
        linkedList.addFirst("aaa");
        linkedList.addFirst("bbb");
        linkedList.addLast("ddd");
        System.out.println(linkedList);
    }
}
